{{ $api := .Get "api" }}
{{ $last_updated := "" }}
{{ $version := .Get "kfctl" }}
<div class="col-lg-12 mb-5 mb-lg-0 ">
  {{ with .Get "title" }}<h4 class="h3 mt-3">{{ . }}</h4>{{ end }}
  {{ with getJSON $api }} {{ $last_updated = (index (index (index (index . 0) "commit") "committer") "date") | dateFormat "2006/01/02" }}
  <p class="text-muted">{{ "Last update " }} {{ $last_updated }} {{ with $version }}{{ "Kueue " }}{{ . }}{{ end }}</p>{{ end }}
  <p class="mb-0">{{ .Inner }}</p>
  {{ with .Get "url" }}<p><a href="{{ . }}">{{ "Go to sample" }}</a></p>{{ end }}
</div>
